﻿

using Microsoft.AspNetCore.SignalR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace JunionRobotManager.Serviecs
{
    public class ReportHub: Hub
    {
       
       
        public async Task GetRobotInfo(Dictionary<string, int> values)
        {
            await Clients.All.SendAsync("RobotInfo", values);
        }
        public async Task GetTaskInfo(Dictionary<string, int> values)
        {
            await Clients.All.SendAsync("TaskInfo", values);
        }
    }
}
